home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / drivers / footchmp.c < prev    next >
C/C++ Source or Header  |  2000-04-04  |  15KB  |  417 lines

  1. /***************************************************************************
  2.  
  3. Football Champ - (C) 1990 Taito Corporation.
  4.  
  5. Preliminary driver by:
  6.  
  7. Ernesto Corvi
  8. <ernesto@balancesoftware.com>
  9.  
  10. ***************************************************************************/
  11.  
  12. #include "driver.h"
  13. #include "cpu/m68000/m68000.h"
  14. #include "vidhrdw/generic.h"
  15.  
  16. /* from sndhrdw/rastan */
  17. READ_HANDLER( rastan_a001_r );
  18. WRITE_HANDLER( rastan_a000_w );
  19. WRITE_HANDLER( rastan_a001_w );
  20. WRITE_HANDLER( rastan_sound_w );
  21. READ_HANDLER( rastan_sound_r );
  22.  
  23. /* from vidhrdw */
  24. extern unsigned char *footchmp_chargen_ram, *footchmp_text_ram;
  25. extern unsigned char *footchmp_layer0_ram, *footchmp_layer1_ram;
  26. extern unsigned char *footchmp_layer2_ram, *footchmp_layer3_ram;
  27. extern int footchmp_vh_start( void );
  28. extern void footchmp_vh_stop( void );
  29. extern void footchmp_vh_screenrefresh( struct osd_bitmap *bitmap, int full_refresh );
  30. READ_HANDLER( footchmp_textram_r );
  31. WRITE_HANDLER( footchmp_textram_w );
  32. READ_HANDLER( footchmp_layer0ram_r );
  33. WRITE_HANDLER( footchmp_layer0ram_w );
  34. READ_HANDLER( footchmp_layer1ram_r );
  35. WRITE_HANDLER( footchmp_layer1ram_w );
  36. READ_HANDLER( footchmp_layer2ram_r );
  37. WRITE_HANDLER( footchmp_layer2ram_w );
  38. READ_HANDLER( footchmp_layer3ram_r );
  39. WRITE_HANDLER( footchmp_layer3ram_w );
  40. READ_HANDLER( footchmp_chargen_r );
  41. WRITE_HANDLER( footchmp_chargen_w );
  42. READ_HANDLER( footchmp_spriteram_r );
  43. WRITE_HANDLER( footchmp_spriteram_w );
  44. WRITE_HANDLER( footchmp_spritebank_w );
  45. WRITE_HANDLER( footchmp_scroll_w );
  46.  
  47. /* Input ports handling */
  48. static READ_HANDLER( footchmp_input_r ) {
  49.  
  50.     switch ( offset ) {
  51.         case 0x00:
  52.             return readinputport( 0 ); /* DSW A */
  53.         break;
  54.  
  55.         case 0x02:
  56.             return readinputport( 1 ); /* DSW B */
  57.         break;
  58.  
  59.         case 0x04:
  60.             return readinputport( 2 ); /* IN0 */
  61.         break;
  62.  
  63.         /* 0x06 ?? */
  64.         /* 0x08 ?? */
  65.  
  66.         case 0x0a:
  67.             return readinputport( 3 ); /* IN1 */
  68.         break;
  69.  
  70.         case 0x0c:
  71.             return readinputport( 4 ); /* IN2 */
  72.         break;
  73.  
  74.         case 0x0e:
  75.             return readinputport( 5 ); /* IN3 */
  76.         break;
  77.  
  78.         case 0x10:
  79.             return readinputport( 6 ); /* IN4 */
  80.         break;
  81.     }
  82.  
  83.     return 0xff;
  84. }
  85.  
  86. static struct MemoryReadAddress readmem[] =
  87. {
  88.     { 0x000000, 0x07ffff, MRA_ROM },
  89.     { 0x100000, 0x10ffff, MRA_BANK1 }, /* work ram */
  90.     { 0x200000, 0x20ffff, footchmp_spriteram_r }, /* sprite ram */
  91.     { 0x400000, 0x400fff, footchmp_layer0ram_r }, /* videoram? */
  92.     { 0x401000, 0x401fff, footchmp_layer1ram_r }, /* videoram? */
  93.     { 0x402000, 0x402fff, footchmp_layer2ram_r }, /* videoram? */
  94.     { 0x403000, 0x403fff, footchmp_layer3ram_r }, /* videoram? */
  95.     { 0x40c000, 0x40dfff, footchmp_textram_r }, /* text layer */
  96.     { 0x40e000, 0x40ffff, footchmp_chargen_r }, /* character generator */
  97. //    { 0x430000, 0x43002f, MRA_BANK3 }, /* video control (scroll,etc)? */
  98.     { 0x600000, 0x601fff, paletteram_word_r }, /* palette */
  99.     { 0x700000, 0x700011, footchmp_input_r }, /* inputs */
  100.     { 0xa00000, 0xa00003, rastan_sound_r },
  101.     { -1 }  /* end of table */
  102. };
  103.  
  104. static struct MemoryWriteAddress writemem[] =
  105. {
  106.     { 0x000000, 0x07ffff, MWA_ROM },
  107.     { 0x100000, 0x10ffff, MWA_BANK1 }, /* work ram */
  108.     { 0x200000, 0x20ffff, footchmp_spriteram_w, &spriteram }, /* sprite ram */
  109.     { 0x300000, 0x30000f, footchmp_spritebank_w },
  110.     { 0x500002, 0x500003, MWA_NOP }, /* watchdog? */
  111.     { 0x400000, 0x400fff, footchmp_layer0ram_w, &footchmp_layer0_ram }, /* videoram? */
  112.     { 0x401000, 0x401fff, footchmp_layer1ram_w, &footchmp_layer1_ram }, /* videoram? */
  113.     { 0x402000, 0x402fff, footchmp_layer2ram_w, &footchmp_layer2_ram }, /* videoram? */
  114.     { 0x403000, 0x403fff, footchmp_layer3ram_w, &footchmp_layer3_ram }, /* videoram? */
  115.     { 0x404000, 0x4043ff, MWA_NOP }, /* ??? */
  116.     { 0x40c000, 0x40dfff, footchmp_textram_w, &footchmp_text_ram }, /* text layer */
  117.     { 0x40e000, 0x40ffff, footchmp_chargen_w, &footchmp_chargen_ram }, /* character generator */
  118.     { 0x430000, 0x43002f, footchmp_scroll_w }, /* video control (scroll,etc)? */
  119.     { 0x600000, 0x601fff, paletteram_RRRRGGGGBBBBxxxx_word_w, &paletteram }, /* palette */
  120.     { 0x800000, 0x800001, MWA_NOP }, /* irq ack? */
  121.     { 0xa00000, 0xa00003, rastan_sound_w },
  122.     { -1 }  /* end of table */
  123. };
  124.  
  125. static WRITE_HANDLER( sound_bankswitch_w )
  126. {
  127.     unsigned char *RAM = memory_region(REGION_CPU2);
  128.     int banknum = (data - 1) & 3;
  129.  
  130.     cpu_setbank (2, &RAM [0x10000 + (banknum * 0x4000)]);
  131. }
  132.  
  133. static struct MemoryReadAddress sound_readmem[] =
  134. {
  135.     { 0x0000, 0x3fff, MRA_ROM },
  136.     { 0x4000, 0x7fff, MRA_BANK2 },
  137.     { 0xc000, 0xdfff, MRA_RAM },
  138.     { 0xe000, 0xe000, YM2610_status_port_0_A_r },
  139.     { 0xe001, 0xe001, YM2610_read_port_0_r },
  140.     { 0xe002, 0xe002, YM2610_status_port_0_B_r },
  141.     { 0xe200, 0xe200, MRA_NOP },
  142.     { 0xe201, 0xe201, rastan_a001_r },
  143.     { 0xea00, 0xea00, MRA_NOP },
  144.     { -1 }  /* end of table */
  145. };
  146.  
  147. static struct MemoryWriteAddress sound_writemem[] =
  148. {
  149.     { 0x0000, 0x7fff, MWA_ROM },
  150.     { 0xc000, 0xdfff, MWA_RAM },
  151.     { 0xe000, 0xe000, YM2610_control_port_0_A_w },
  152.     { 0xe001, 0xe001, YM2610_data_port_0_A_w },
  153.     { 0xe002, 0xe002, YM2610_control_port_0_B_w },
  154.     { 0xe003, 0xe003, YM2610_data_port_0_B_w },
  155.     { 0xe200, 0xe200, rastan_a000_w },
  156.     { 0xe201, 0xe201, rastan_a001_w },
  157.     { 0xe400, 0xe403, MWA_NOP }, /* pan */
  158.     { 0xee00, 0xee00, MWA_NOP }, /* ? */
  159.     { 0xf000, 0xf000, MWA_NOP }, /* ? */
  160.     { 0xf200, 0xf200, sound_bankswitch_w },    /* ?? */
  161.     { -1 }  /* end of table */
  162. };
  163.  
  164. INPUT_PORTS_START( footchmp )
  165.     PORT_START /* DSW A */
  166.     PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) )
  167.     PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  168.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  169.     PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  170.     PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  171.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  172.     PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
  173.     PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  174.     PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  175.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  176.     PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  177.     PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  178.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  179.     PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  180.     PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  181.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  182.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  183.     PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  184.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  185.     PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  186.     PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  187.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  188.  
  189.     PORT_START /* DSW B */
  190.     PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  191.     PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  192.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  193.     PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  194.     PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  195.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  196.     PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  197.     PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  198.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  199.     PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  200.     PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  201.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  202.     PORT_DIPNAME( 0x30, 0x10, DEF_STR( Cabinet ) )
  203.     PORT_DIPSETTING(    0x30, "2 Players" )
  204.     PORT_DIPSETTING(    0x10, "4 Players" )
  205.     PORT_DIPSETTING(    0x20, "4 Players (No Select)" )
  206. //    PORT_DIPSETTING(    0x00, "4 Players" )
  207.     PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  208.     PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  209.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  210.     PORT_DIPNAME( 0x80, 0x00, "Game Version" )
  211.     PORT_DIPSETTING(    0x00, "Normal" )
  212.     PORT_DIPSETTING(    0x80, "European" )
  213.  
  214.     PORT_START      /* IN0 */
  215.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  216.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
  217.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 )
  218.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN4 )
  219.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )    /* P1 service */
  220.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )        /* P3 service */
  221.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )        /* P4 service */
  222.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT )
  223.  
  224.     PORT_START      /* IN1 */
  225.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  226.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  227.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  228.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  229.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  230.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  231.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  232.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  233.  
  234.     PORT_START      /* IN2 */
  235.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  236.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  237.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  238.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  239.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  240.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  241.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  242.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
  243.  
  244.     PORT_START      /* IN3 */
  245.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  246.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  247.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  248.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  249.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  250.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  251.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  252.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START3 )
  253.  
  254.     PORT_START      /* IN4 */
  255.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  256.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  257.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  258.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  259.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  260.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  261.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  262.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START4 )
  263. INPUT_PORTS_END
  264.  
  265.  
  266. #define XOFFS (0x80000*8)
  267. static struct GfxLayout tilelayout =
  268. {
  269.     16,16,    /* 16*16 tiles */
  270.     8192,    /* 8192 tiles */
  271.     4,        /* 4 bits per pixel */
  272.     { 0, 1, 2, 3 },
  273.     { 1*4, 0*4, 3*4, 2*4, XOFFS + 1*4, XOFFS + 0*4, XOFFS + 3*4, XOFFS + 2*4, 5*4, 4*4, 7*4, 6*4, XOFFS + 5*4, XOFFS + 4*4, XOFFS + 7*4, XOFFS + 6*4 },
  274.     { 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32, 8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32 },
  275.     64*8    /* every tile takes 64 consecutive bytes */
  276. };
  277. #undef XOFFS
  278.  
  279. static struct GfxLayout spritelayout =
  280. {
  281.     16,16,    /* 16*16 sprites */
  282.     16384,    /* 16384 sprites */
  283.     4,        /* 4 bits per pixel */
  284.     { 0, 1, 2, 3 },
  285.     { 1*4, 0*4, 3*4, 2*4, 5*4, 4*4, 7*4, 6*4, 9*4, 8*4, 11*4, 10*4, 13*4, 12*4, 15*4, 14*4 },
  286.     { 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64, 8*64, 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64 },
  287.     128*8    /* every sprite takes 128 consecutive bytes */
  288. };
  289.  
  290. static struct GfxLayout charlayout =
  291. {
  292.     8,8,    /* 8*8 characters */
  293.     256,    /* 256 characters */
  294.     4,        /* 4 bits per pixel */
  295.     { 0, 1, 2, 3 },
  296.     { 3*4, 2*4, 1*4, 0*4, 7*4, 6*4, 5*4, 4*4 },
  297.     { 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
  298.     32*8    /* every character takes 32 consecutive bytes */
  299. };
  300.  
  301. static struct GfxDecodeInfo gfxdecodeinfo[] =
  302. {
  303.     { REGION_GFX1, 0, &tilelayout,   0, 256 },    /* tiles */
  304.     { REGION_GFX2, 0, &spritelayout, 0, 256 },    /* sprites */
  305.     { REGION_GFX1, 0, &charlayout,   0, 128 },    /* chars - generated at run time */
  306.     { -1 } /* end of array */
  307. };
  308.  
  309. /* handler called by the YM2610 emulator when the internal timers cause an IRQ */
  310. static void irqhandler(int irq)
  311. {
  312.     cpu_set_irq_line(1,0,irq ? ASSERT_LINE : CLEAR_LINE);
  313. }
  314.  
  315. static struct YM2610interface ym2610_interface =
  316. {
  317.     1,    /* 1 chip */
  318.     8000000,    /* 8 MHz ?????? */
  319.     { 30 },
  320.     { 0 },
  321.     { 0 },
  322.     { 0 },
  323.     { 0 },
  324.     { irqhandler },
  325.     { REGION_SOUND1 },
  326.     { REGION_SOUND1 },
  327.     { YM3012_VOL(60,MIXER_PAN_LEFT,60,MIXER_PAN_RIGHT) }
  328. };
  329.  
  330. static int footchmp_irq( void ) {
  331.  
  332.     /* the hardware must execute a irq5, then it sits waiting for an irq6 to happen */
  333.     /* i dont know the source of the ints, so i just trigger one every time */
  334.  
  335.     if (cpu_getiloops() == 0)
  336.         return m68_level5_irq();
  337.  
  338.     return m68_level6_irq();
  339. }
  340.  
  341. static struct MachineDriver machine_driver_footchmp =
  342. {
  343.     /* basic machine hardware */
  344.     {
  345.         {
  346.             CPU_M68000,
  347.             12000000,    /* 6 Mhz ??? */
  348.             readmem,writemem,0,0,
  349.             footchmp_irq,2
  350.         },
  351.         {
  352.             CPU_Z80,
  353.             4000000,    /* 4 MHz ??? */
  354.             sound_readmem, sound_writemem,0,0,
  355.             ignore_interrupt,0    /* IRQs are triggered by the YM2610 */
  356.         }
  357.     },
  358.     60, DEFAULT_60HZ_VBLANK_DURATION,    /* frames per second, vblank duration */
  359.     1,
  360.     0,
  361.  
  362.     /* video hardware */
  363.     40*8, 32*8, { 0*8, 40*8-1, 0*8, 32*8-1 },
  364.  
  365.     gfxdecodeinfo,
  366.     4096,4096,
  367.     0,
  368.  
  369.     VIDEO_TYPE_RASTER | VIDEO_MODIFIES_PALETTE,
  370.     0,
  371.     footchmp_vh_start,
  372.     footchmp_vh_stop,
  373.     footchmp_vh_screenrefresh,
  374.  
  375.     /* sound hardware */
  376.     SOUND_SUPPORTS_STEREO,0,0,0,
  377.     {
  378.         {
  379.             SOUND_YM2610,
  380.             &ym2610_interface
  381.         }
  382.     }
  383. };
  384.  
  385. /***************************************************************************
  386.  
  387.   Game driver(s)
  388.  
  389. ***************************************************************************/
  390.  
  391. ROM_START( footchmp )
  392.     ROM_REGION( 0x80000, REGION_CPU1 )     /* 512k for 68000 code */
  393.     ROM_LOAD_EVEN( "efc6.bin", 0x00000, 0x20000, 0xf78630fb )
  394.     ROM_LOAD_ODD ( "efc4.bin", 0x00000, 0x20000, 0x32c109cb )
  395.     ROM_LOAD_EVEN( "efc7.bin", 0x40000, 0x20000, 0x80d46fef )
  396.     ROM_LOAD_ODD ( "efc5.bin", 0x40000, 0x20000, 0x40ac4828 )
  397.  
  398.     ROM_REGION( 0x1c000, REGION_CPU2 )     /* 64k for Z80 code */
  399.     ROM_LOAD( "efc70.bin", 0x00000, 0x04000, 0x05aa7fd7 )
  400.     ROM_CONTINUE(           0x10000, 0x0c000 )
  401.  
  402.     ROM_REGION( 0x100000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  403.     ROM_LOAD( "efc1.bin",    0x000000, 0x080000, 0x9a17fe8c )
  404.     ROM_LOAD( "efc2.bin",    0x080000, 0x080000, 0xacde7071 )
  405.  
  406.     ROM_REGION( 0x200000, REGION_GFX2 | REGIONFLAG_DISPOSE )
  407.     ROM_LOAD( "efc9.bin",    0x000000, 0x100000, 0xf43782e6 )
  408.     ROM_LOAD( "efc10.bin",    0x100000, 0x100000, 0x060a8b61 )
  409.  
  410.     ROM_REGION( 0x100000, REGION_SOUND1 )     /* YM2610 samples */
  411.     ROM_LOAD( "efc57.bin", 0x00000, 0x100000, 0x609938d5 )
  412. ROM_END
  413.  
  414.  
  415.  
  416. GAME( 1990, footchmp, 0, footchmp, footchmp, 0, ROT0, "Taito Corporation Japan", "Football Champ (World)" )
  417.